Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional LicensesViewControllerConfiguration-struct #39

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

BBJake
Copy link

@BBJake BBJake commented Jan 21, 2021

For one of our projects we had the need to configure the fonts and the colors of the license.
Because of that we added a struct to configure that...

Example:
var licensesViewControllerConfiguration = LicensesViewControllerConfiguration()
licensesViewControllerConfiguration.tableViewBackgroundColor = AppConstants.Color.skySilver
licensesViewControllerConfiguration.tableViewSeparatorColor = AppConstants.Color.icebergBlue
licensesViewControllerConfiguration.cellBackgroundColor = AppConstants.Color.white
licensesViewControllerConfiguration.cellTitleFontColor = AppConstants.Color.companyBlue
licensesViewControllerConfiguration.cellTitleFont = AppConstants.Font.exoSemiBold(in: 16)
licensesViewControllerConfiguration.cellBodyFontColor = AppConstants.Color.companyBlue
licensesViewControllerConfiguration.cellBodyFont = AppConstants.Font.sourceSansRegular(in: 14)

        licensesController.configuration = licensesViewControllerConfiguration

@codeclimate
Copy link

codeclimate bot commented Jul 20, 2021

Code Climate has analyzed commit 301683f and detected 1 issue on this pull request.

Here's the issue category breakdown:

Category Count
Complexity 1

View more on Code Climate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants